﻿using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;

namespace ChangeLanguage
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            ResourceService.Current.ChangedCulture(Properties.Settings.Default.Language);//初始化语言
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            ViewA viewA = new ViewA();
            viewA.Show();
        }
    }
}
